<% content_for :page_title do %>
  <%= Spree.t(:editing_resource, resource: Spree::Role.model_name.human) %>
<% end %>

<% content_for :page_actions do %>
  <%= back_to_list_button(Spree::Role.model_name.human, admin_roles_path) %>
<% end %>

<%= form_for [:admin, @role] do |f| %>
  <fieldset>
    <%= render partial: 'form', locals: { f: f } %>
    <%= render partial: 'spree/admin/shared/edit_resource_links' %>
  </fieldset>
<% end %>
